package Day13.IO.zIFuLiu;

import java.io.FileWriter;
import java.io.IOException;

public class Demo {
    /*

     FileWrite字符输出流写出数据
     */

    public static void main(String[] args) throws IOException {
        FileWriter fw = new FileWriter("D:\\C.txt");
        char[] chs = {'a','b','c'};
        fw.write('a');
        fw.write(chs);
        fw.write(chs,0,2);
        fw.write("你好你好");
        fw.write("哈哈哈哈",0,2);

        fw.close();

    }
}
